package com.situ.web.listener;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

import com.situ.web.entity.User;

public class MyHttpSessionListener implements HttpSessionListener{

	@Override
	public void sessionCreated(HttpSessionEvent se) {
		
		
	}

	@Override
	public void sessionDestroyed(HttpSessionEvent se) {
		User user = (User) se.getSession().getAttribute("user");
		se.getSession().getServletContext();
	}

}
